#include "stdafx.h"
#include "ckLandsatRadiationProcessor.h"
#include "ckLandsatRadiation.h"

namespace ck
{
	namespace processor
	{
		namespace raster
		{
			LandsatRadiationProcessor::LandsatRadiationProcessor()
			{
				m_pLandsat = NULL;
				m_pRadiation = NULL;
			}


			LandsatRadiationProcessor::~LandsatRadiationProcessor()
			{
				if (m_pLandsat)
				{
					m_pLandsat->Release();
					m_pLandsat = NULL;
				}
				if (m_pRadiation)
				{
					m_pRadiation->Release();
					m_pRadiation = NULL;
				}
			}

			RESULTCODE LandsatRadiationProcessor::Execute()
			{
				return RC_SUCCESS;
			}

			data::LandsatRadiation* LandsatRadiationProcessor::GetValue()
			{
				return m_pRadiation;
			}
		}
	}
}